Skip to content

feat(mongodb-constants): add $subtype expression operator COMPASS-9668#798

Merged
ivandevp merged 2 commits into
mainfrom
COMPASS-9668
Jun 24, 2026
Merged

feat(mongodb-constants): add $subtype expression operator COMPASS-9668#798
ivandevp merged 2 commits into
mainfrom
COMPASS-9668

Conversation

@ivandevp

@ivandevp ivandevp commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

Description

Adds the $subtype aggregation expression operator introduced in MongoDB 8.3 (SERVER-103893).

The operator is added to expression-operators.ts with:

  • meta: 'expr:type' — same category as $type, which also introspects value types
  • version: '8.3.0'
  • Alphabetical position between $subtract and $switch

Open Questions

None.

Checklist

@ivandevp ivandevp self-assigned this Jun 23, 2026
@ivandevp ivandevp merged commit 91d7287 into main Jun 24, 2026
8 checks passed
@ivandevp ivandevp deleted the COMPASS-9668 branch June 24, 2026 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants